﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLI.UlsViewer
{
    public class LogEntity
    {
        public string Date { get; set; }
        public TraceSeverity Level { get; set; }
        public string Correlation { get; set; }
        public string Message { get; set; }
        public string Category { get; set; }
        public DateTime Timestamp { get; set; }
        public string Process { get; set; }
        public string TID { get; set; }
        public string Area { get; set; }
        
        public string EventID { get; set; }
       
        
        
    }


    // Summary:
    //     Specifies the level of trace information that is written to the trace log
    //     file.
    public enum TraceSeverity
    {
        // Summary:
        //     Writes no trace information to the trace log file.
        None = 0,
        //
        // Summary:
        //     Represents an unexpected code path and actions that should be monitored.
        Unexpected = 10,
        //
        // Summary:
        //     Represents an unusual code path and actions that should be monitored.
        Monitorable = 15,
        //
        // Summary:
        //     Writes high-level detail to the trace log file.
        High = 20,
        //
        // Summary:
        //     Writes medium-level detail to the trace log file.
        Medium = 50,
        //
        // Summary:
        //     Writes low-level detail to the trace log file.
        Verbose = 100,
        VerboseEx = 200,
        Information = 300,
        Warning = 350,
        Critical = 450,
        Exception = 451
    }
}
